home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
lu_100.zip
/
LOGUTIL.DOC
next >
Wrap
Text File
|
1992-01-17
|
4KB
|
104 lines
LogUtil
--------------------------------------------------------------------
Log files for a BBS, mailer, and some games grow larger if unattended
using up more disk space than may be necessary. This program will
allow you to control the size of log files, or any text file for that
matter, so that you don't have to keep checking on how large they are
becoming.
Syntax: logutil <filename.ext> <number lines> f or l
or
logutil <filename.ext> reverse
The filename.ext is the name of the file that you wish to reduce.
You may include the path as well, for example
logstrip c:\bbs\system.log
logstrip c:\mailer\mailer.log
logstrip c:\games\game.log
The number of lines parameter is an integer that is the number of lines
you wish to leave remaining in the specified file. i.e. a parameter of
500 will reduce the file to 500 lines.
The f or l parameter is for determining whether you wish to leave the
(f)irst lines or the (l)ast lines.
Example:
logutil BBS.LOG 100 F ==> leave the first 100 lines of BBS.LOG
logutil BBS.LOG 500 L ==> leave the last 500 lines of BBS.LOG
The reverse parameter takes the specified file and reverses the order
of the lines, effectively turning the file "upside-down".
Example:
logutil BBS.LOG reverse ==> reverse order of the lines in BBS.LOG
A runtime error 002 means that the file you have specified does not
exist.
Legal details concerning LogUtil
-----------------------------------------------------------------
1. Baker Street Software is in no way obligated to provide future
versions of, or support for, this program.
3. You may not modify or otherwise reverse-engineer this program.
4. The software and accompanying materials (including
instructions for use) are provided "as is" without warranty
of any kind. Further, the author does not warrant, guarantee,
or make any representations regarding the use, or the results
of the use, of the software or written materials in terms of
correctness, accuracy, reliability, currentness or otherwise.
5. The author(s) shall not be liable for any direct, indirect,
consequential, or incidental damages (including damages for
loss of business profits, business interruption, loss of
business information, and the like) arising out of the use or
inability to use the software even if the author has been
advised of the possibility of such damages.
6. You are free to distribute this archive, in fact I hope that
you do so. Please observe these few restrictions.
a. All the files in the original archive must be included.
b. No fee may is charged for its distribution, and that the
distribution archive is not modified in any way. Pay
Bulletin Board Systems may however charge their normal fee
provided that no additional charge is levied for this
program.
c. LogUtil may not be included as part of any software library
which is distributed on a commercial basis (commercial =
"for money") without prior written permission from Baker
Street Software.
7. Use of this software is considered agreement to these terms.
Registration/Support/Questions
------------------------------------------------------------------
If you like this program please register it. If you register
this program you will receive a registration number that will be
valid for all future versions of this program. To register
complete the registration form and send $5.00 to
Brent Herring
1922 Bruce Apt B-7
Conway, Arkansas 72032
$5.00 isn't much is it?
Questions about this program can be directed to
Brent Herring Quantum Leap BBS (501) 329-6240 Conway, Arkansas
------------------------------------------------------------------